package BusLib;


import java.io.Serializable;
import java.util.*;


public class BusSchedule implements Serializable {
    ArrayList<StationSchedule> stationSchedule_;;

    /*
     * Constructori.
     */
    public  BusSchedule() {
       stationSchedule_=new ArrayList<StationSchedule>();
    }

    /*
     * Metode publice.
     */

         // Metode ce acceseaza lista de program al statiilor
    public List<StationSchedule> StationSchedules() { return stationSchedule_; }
    public void AddStationSchedule(StationSchedule stationSchedule) { stationSchedule_.add(stationSchedule);  }
    public void ContainsStationSchedule(StationSchedule stationSchedule) { stationSchedule_.contains(stationSchedule); }
    public void DeleteStationSchedule(StationSchedule stationSchedule) { stationSchedule_.remove(stationSchedule); }
    public void ClearStationSchedules(){ stationSchedule_.clear(); }

}
